package com.jilijili.mapper;

import com.jilijili.pojo.vo.IndexVlogVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @author admin
 * @description 针对表【vlog(短视频表)】的数据库操作Mapper
 * @createDate 2022-03-12 07:11:29
 * @Entity com.jilijili.pojo.Vlog
 */
@Mapper
@Repository
public interface VlogMapperCustom {

    /**
     * 我朋友的列表
     */
    public List<IndexVlogVO> getMyFriendVlogList(@Param("paraMap") Map<String, Object> paramMap);

    /**
     * 我關注的博主視頻
     */
    public List<IndexVlogVO> getMyFollowVlog(@Param("paraMap") Map<String, Object> paramMap);

    /**
     * 我喜歡的視頻列表|我點讚過的視頻列表
     */
    public List<IndexVlogVO> getMyLinkVlogList(@Param("paraMap") Map<String, Object> paramMap);


    /**
     * 查询视频详情
     */
    public List<IndexVlogVO> getVlogDetailById(@Param("paraMap") Map<String, Object> paramMap);

    /**
     * 首页查询|搜索查询
     */
    public List<IndexVlogVO> getIndexVlogList(@Param("paramMap") Map<String, Object> paramMap);

}




